package com.zzyl.service.customer;


import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationCountVo;
import com.zzyl.vo.ReservationVo;

import java.util.List;

public interface CustomerReservationService {
    Integer getCancelledCount();

    List<ReservationCountVo> getCountByTime(Long time);

    void addReservation(ReservationDto dto);

    PageResponse<ReservationVo> getReservationPage(ReservationDto dto);

    void cancelReservation(Long id);
}
